package com.bop.dehong.http.model;

import java.lang.reflect.Type;
import java.util.ArrayList;

import com.base.dehong.http.HttpRequest;
import com.base.dehong.http.RequestCallBack;
import com.bop.dehong.config.Config;
import com.bop.dehong.info.SystemHeadInfo;
import com.google.gson.reflect.TypeToken;

import android.app.Activity;

/**
* @author Tangwenhan
*2015年11月25日下午7:29:31
*/
public class GetSystemHeadModel extends HttpRequest<ArrayList<SystemHeadInfo>>{

	public GetSystemHeadModel(Activity activity, RequestCallBack<ArrayList<SystemHeadInfo>> callback) {
		super(activity, callback);
		// TODO Auto-generated constructor stub
	}
	/**
	 * 获取系统图库
	 * @param uid
	 */
	public void doNet() {
		mPostValues.put("a", "thumbs");
		mPostValues.put("m", "User");	
		requestByPost();
	}

	@Override
	public String getURL() {
		return Config.getIP() + Config.getSystemHead;
	}

	@Override
	public Type getType() {
		return new TypeToken<ArrayList<SystemHeadInfo>>() {}.getType();
	}
	
	@Override
	public Class<ArrayList<SystemHeadInfo>> getClazz()
	{
		// TODO Auto-generated method stub
		return null;
	}

}

